{include file="../common/header.php"}

<link rel="stylesheet" type="text/css" href="{$IMGDIR}/main.css" media="all" />
<link rel="stylesheet" type="text/css" href="{$IMGDIR}/base.css" media="all" />
{if $CM != 'article'}
<link rel="stylesheet" type="text/css" href="{$IMGDIR}/w1280.css" media="all" />
{/if}
{if $_G.ad.k1.show_html}
<div class="ttop">
    <div class="area">
        {if $_G.ad.k1.type ==1}
        <marquee scrollAmount="4" width="100%" height="20" onmouseover="stop()" onmouseout="start()">
            <img src="{$IMGDIR}/dog.gif" /> {$_G.ad.k1.show_html}
        </marquee>
        {else}
        
        {/if}
    </div>
</div>
{/if}




<div class="head">
    <div class="area" id="logo">
        <div class="logo l">
            <h2><a href="{$_G.siteurl}" title="{$_G.setting.title}" >{$_G.setting.title}</a></h2>
        </div>
        <div class="search_box y">
        	<div class="header-srh">
        <div class="srh-box">
            <form action="{$URL}a=search" method="POST"  id="search_form">
                                <div class="srh-inp">
                    <div class="srh-xl" id="searchxl">
                        <ul class="triggers">
                           <li class="selected">商品</li>        
                         </ul>
                      
                    </div>
     			  <input placeholder="搜&quot;精品女装&quot;试试" type="text" class="so_kw" data-type="kw" name="kw" value="{if $_GET.kw}{$_GET.kw}{/if}" autocomplete="off" accesskey="s" aria-expanded="true" />
                </div>
                <input type="submit" class="srh-sub so_web _check_form" url="{$URL}a=search" value="搜本站" >
                <input type="submit" class="srh-sub so_tb _check_form" url="http://ai.taobao.com/search/index.htm" value="搜淘宝">
                <input type="hidden" value="{$_G.setting.pid}" name="pid">
        
            </form>
        </div>
    </div>
        
        </div>

    </div>
    <div id="head_nav">
        <div class="area cl">
            <div class="left">
 <a href="{$_G.siteurl}" {if $CM=='index' && $CA=='main'}class="on" {/if}>首页</a>
 
<a href="{$URL}a=all&price1=1&price2=10" {if $CM=='index' && $CA=='all' && $_GET.price1=='1'  && $_GET.price2=='10'}class="on" {/if}>9块9包邮</a>
<a href="{$URL}a=all&price1=10&price2=20" {if $CM=='index' && $CA=='all' && $_GET.price1=='10'  && $_GET.price2=='20'}class="on" {/if}>19块9特价</a>
<a href="{$URL}a=all&kw=天天特价" {if $CM=='index' && $CA=='all' && $_GET.kw=='天天特价' }class="on" {/if}>天天特价</a>
 
 {foreach from=$_G.channels item=v}
{if $v.hide == 0}
<a href="{$URL}fid={$v.fid}" {if $_G.fid == $v.fid} class="on" {/if}>{$v.name}</a>
{/if}
{/foreach}


            </div>


        </div>
    </div>
    
    {if  $CM=='channel'}
    <div class="menufixd">
        <h3 class="menufixedlog"></h3>
        <span></span>
        <h1>商品分类</h1>
        <ul class="fixedmenu1">
           
            {if $sub}
            <div class="suncates cl">
            {foreach from=$sub item=v}
            <li ><a href="{$URL}fid={$_G.fid}&cid={$v.cid}" title="{$v.name}" {if $_GET.cid == $v.cid} class="on" {/if}>{$v.name}</a></li>
            {/foreach}
            </div>
   			 {/if}
            
            
        </ul>
        <div class="fix_gg"></div>
    </div>
    {/if}

    
    
</div>